<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>


<s:layout-render name="/layout_template.jsp" nadpis="error.error">
    <s:layout-component name="telo">
        <s:useActionBean beanclass="cz.muni.fi.pa165.carpark.rest.client.ErrorHandlerActionBean" var="actionBean"/> 
        <c:if test="${not empty actionBean.rootCause}">
            <p><b><f:message key="error.rootCause"/>:</b> ${actionBean.rootCause}</p>
        </c:if>
        <p><b><f:message key="error.error"/>:</b>${actionBean.exception}</p>           
    </s:layout-component>
</s:layout-render>      



